package com.example.xyxwebbackend001.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_likes")
public class Likes {
    @TableId(type = IdType.AUTO)
    private Integer tLikeId;
    private Integer userId;
    private Integer tPostId;
    private LocalDateTime tLikedAt;
}
